package com.valuegroup.smarttodo.data.vo;

import java.io.Serializable;

public class WeekProgressVo implements Serializable {

    private Integer id;
    private String labDate;
    private int weekNo = 0;

    private Float goalTotal = 0F;
    private Float goalFinish = 0F;

    private Float studyTotal = 0F;
    private Float studyFinish = 0F;

    private Float habitTotal = 0F;
    private Float habitFinish = 0F;

    private Float totalFinish = 0F;
    private Float total = 0F;

    private int sort = 0;
    private boolean showOut = false;
    private boolean showToday = false;

    public String joint(int a, int b) {
        return a + "/" + b;
    }

    public Float getTotal() {
        total = goalTotal + studyTotal + habitTotal;
        return total;
    }

    public Float getTotalFinish() {
        totalFinish = goalFinish + studyFinish + habitFinish;
        return totalFinish;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLabDate() {
        return labDate;
    }

    public void setLabDate(String labDate) {
        this.labDate = labDate;
    }

    public int getWeekNo() {
        return weekNo;
    }

    public void setWeekNo(int weekNo) {
        this.weekNo = weekNo;
    }

    public Float getGoalTotal() {
        return goalTotal;
    }

    public void setGoalTotal(Float goalTotal) {
        this.goalTotal = goalTotal;
    }

    public Float getGoalFinish() {
        return goalFinish;
    }

    public void setGoalFinish(Float goalFinish) {
        this.goalFinish = goalFinish;
    }

    public Float getStudyTotal() {
        return studyTotal;
    }

    public void setStudyTotal(Float studyTotal) {
        this.studyTotal = studyTotal;
    }

    public Float getStudyFinish() {
        return studyFinish;
    }

    public void setStudyFinish(Float studyFinish) {
        this.studyFinish = studyFinish;
    }

    public Float getHabitTotal() {
        return habitTotal;
    }

    public void setHabitTotal(Float habitTotal) {
        this.habitTotal = habitTotal;
    }

    public Float getHabitFinish() {
        return habitFinish;
    }

    public void setHabitFinish(Float habitFinish) {
        this.habitFinish = habitFinish;
    }

    public void setTotalFinish(Float totalFinish) {
        this.totalFinish = totalFinish;
    }

    public void setTotal(Float total) {
        this.total = total;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public boolean isShowOut() {
        return showOut;
    }

    public void setShowOut(boolean showOut) {
        this.showOut = showOut;
    }

    public boolean isShowToday() {
        return showToday;
    }

    public void setShowToday(boolean showToday) {
        this.showToday = showToday;
    }
}
